package com.zyao89.view.zweb.javascript;

/**
 * @author Zyao89
 * 2017/11/7.
 */
public interface IZMethodCallback {
    /**
     * saveData
     *
     * @param frameworkID
     * @param oJson
     */
    void saveData(String frameworkID, String oJson);

    /**
     * loadData
     *
     * @param frameworkID
     * @param oJson
     */
    void loadData(String frameworkID, String oJson);

    /**
     * showLoading
     *
     * @param frameworkID
     */
    void showLoading(String frameworkID);

    /**
     * hideLoading
     *
     * @param frameworkID
     */
    void hideLoading(String frameworkID);

    /**
     * tip
     *
     * @param frameworkID
     * @param msg
     */
    void tip(String frameworkID, String msg);
}
